package mat;


import java.io.IOException;
import java.io.RandomAccessFile;

public class SeekableDataIO_FS implements ISeekableDataIO
{
	protected RandomAccessFile raf;
	
	public SeekableDataIO_FS(RandomAccessFile raf)
	{
		this.raf = raf;
	}

	public void close() throws IOException
	{
		raf.close();
	}

	public boolean equals(Object obj)
	{
		return raf.equals(obj);
	}
	
	public long getFilePointer() throws IOException
	{
		return raf.getFilePointer();
	}

	public int hashCode()
	{
		return raf.hashCode();
	}

	public long length() throws IOException
	{
		return raf.length();
	}

	public int read() throws IOException
	{
		return raf.read();
	}

	public int read(byte[] b, int off, int len) throws IOException
	{
		return raf.read(b, off, len);
	}

	public int read(byte[] b) throws IOException
	{
		return raf.read(b);
	}

	public final boolean readBoolean() throws IOException
	{
		return raf.readBoolean();
	}

	public final byte readByte() throws IOException
	{
		return raf.readByte();
	}

	public final char readChar() throws IOException
	{
		return raf.readChar();
	}

	public final double readDouble() throws IOException
	{
		return raf.readDouble();
	}

	public final float readFloat() throws IOException
	{
		return raf.readFloat();
	}

	public final void readFully(byte[] b, int off, int len) throws IOException
	{
		raf.readFully(b, off, len);
	}

	public final void readFully(byte[] b) throws IOException
	{
		raf.readFully(b);
	}

	public final int readInt() throws IOException
	{
		return raf.readInt();
	}

	public final String readLine() throws IOException
	{
		return raf.readLine();
	}

	public final long readLong() throws IOException
	{
		return raf.readLong();
	}

	public final short readShort() throws IOException
	{
		return raf.readShort();
	}

	public final int readUnsignedByte() throws IOException
	{
		return raf.readUnsignedByte();
	}

	public final int readUnsignedShort() throws IOException
	{
		return raf.readUnsignedShort();
	}

	public final String readUTF() throws IOException
	{
		return raf.readUTF();
	}

	public void seek(long pos) throws IOException
	{
		raf.seek(pos);
	}

	public void setLength(long newLength) throws IOException
	{
		raf.setLength(newLength);
	}

	public int skipBytes(int n) throws IOException
	{
		return raf.skipBytes(n);
	}

	public String toString()
	{
		return raf.toString();
	}

	public void write(byte[] b, int off, int len) throws IOException
	{
		raf.write(b, off, len);
	}

	public void write(byte[] b) throws IOException
	{
		raf.write(b);
	}

	public void write(int b) throws IOException
	{
		raf.write(b);
	}

	public final void writeBoolean(boolean v) throws IOException
	{
		raf.writeBoolean(v);
	}

	public final void writeByte(int v) throws IOException
	{
		raf.writeByte(v);
	}

	public final void writeBytes(String s) throws IOException
	{
		raf.writeBytes(s);
	}

	public final void writeChar(int v) throws IOException
	{
		raf.writeChar(v);
	}

	public final void writeChars(String s) throws IOException
	{
		raf.writeChars(s);
	}

	public final void writeDouble(double v) throws IOException
	{
		raf.writeDouble(v);
	}

	public final void writeFloat(float v) throws IOException
	{
		raf.writeFloat(v);
	}

	public final void writeInt(int v) throws IOException
	{
		raf.writeInt(v);
	}

	public final void writeLong(long v) throws IOException
	{
		raf.writeLong(v);
	}

	public final void writeShort(int v) throws IOException
	{
		raf.writeShort(v);
	}

	public final void writeUTF(String str) throws IOException
	{
		raf.writeUTF(str);
	}
	
	
	
	
	
}

